package com.xtpt.disaster.utils;

import java.util.UUID;

public class UUIDUtils {

    public static String getShortUUID(Integer num){
      return  UUID.randomUUID().toString().substring(0,num);
    }

    public static String getShortUUID(){
        return getShortUUID(6);
    }

    public static String getUUID(){
        return  UUID.randomUUID().toString();
    }
}
